<include file="Public/frame" />
<!--/左边栏-->
<script type="text/javascript">
    var editdetail='{:U('User/Center/detail')}';
</script>
<!--主要内容区-->

<div class="content-wrap">
    <div class="hd cf"></div>
    <!-- 选项卡导航 -->
    <div class="mtab-wrap cf">
        <ul class="member-tabnav ua-tab">
            <li >
                <a href="{:U('User/Center/index')}">账户信息</a>
            </li>
            <li class="current">
                <a href="{:U('User/Center/detail')}">修改资料</a>
            </li>
            <li>
                <a href="{:U('User/Center/face')}">修改头像</a>
            </li>
            <li>
                <a href="{:U('User/Center/pwd')}">修改密码</a>
            </li>
        </ul>
    </div>
    <!-- /导航 -->
    <div class="tab-bd">
        <form>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-list">
                <tr>
                    <td>会员昵称：</td>
                    <td>
                        <input type="text" name="nickname" value="{:get_cookie('nickname')}" id="nickname" class="input-text"></td>
                </tr>
                <tr>
                    <td>性别：</td>
                    <td>
                        <input type="radio" id="sex" name="sex" value="1" <if condition="$user['sex'] eq 1">checked="checked"</if>>女  <input type="radio" name="sex" id="sex" value="0" <if condition="$user['sex'] eq 0">checked="checked"</if>>男
                    </td>
                </tr>
                <tr>
                    <td>真实姓名：</td>
                    <td>
                        <input type="text" name="realname" value="{$user.realname}" id="realname" class="input-text">
                    </td>
                </tr>
                <tr>
                    <td>QQ：</td>
                    <td>
                        <input type="text" name="qq" value="{$user.qq}" id="qq" class="input-text">
                    </td>
                </tr>
                <tr>
                    <td>电话：</td>
                    <td>
                        <input type="text" name="phone" value="{$user.phone}" id="phone" class="input-text">
                    </td>
                </tr>
                <tr>
                    <td>生日：</td>
                    <td>
                        
                        <input type="text" name="birthday" id="birthday" value="{$user['birthday']|date='Y-m-d',###}" class="input-text">
                       
                        <script type="text/javascript">
                            Calendar.setup({
                                weekNumbers: true,
                                inputField : "birthday",
                                trigger    : "birthday",
                                dateFormat: "%Y-%m-%d",
                                showTime: true,
                                minuteStep: 1,
                                onSelect   : function() {this.hide();}
                            });
                        </script>
                        
                    </td>
                </tr>
                <input type="hidden" name="uid" value="{:get_cookie('uid')}">
                <input type="hidden" name="new" value="{$user.new}" id="new">
                <tr><td colspan="2" align="center"><input type="submit" value="提交" id="editdetailHandle" class="button"></td></tr>
            </table>
        </form>
        <div class="a5"></div>
    </div>
    </div>
    <!--主要内容区-->

    <!-- /主体 -->
    <!-- 底部 -->
    <include file="Public/foot" />